﻿using System;

class IfThirdDigitIs7
{
    static void Main(string[] args)
    {
        Console.WriteLine("Vuvedete chislo za proverka:");
        int TestNumber = int.Parse(Console.ReadLine());
        Console.WriteLine(((TestNumber / 100) % 10 == 7)? "Yes, the third digit from right to left is 7" : 
            "No, the third digit of the number form right to left is not 7");
    }
}

